package com.cbank.domain;

import java.util.Date;

/**
 * 实体基类
 *
 */
public abstract class BaseEntity {
	
	

	public static final int STATUS_VALID = 1;// 数据有效
	public static final int STATUS_INVALID = -1;// 数据无效
	
	protected Long id;
	protected Integer status;
	// 创建时间
	protected Date createTime;
	// 最后修改时间
	protected Date updateTime;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
